package hub.cathome.mapper;

import hub.cathome.entity.Record;
import org.springframework.stereotype.Component;

import java.util.List;
@Deprecated
@Component("recordMapper")
public interface RecordMapper {
    int insertRecord(Record record);
    int updateRecord(Record record);
    int deleteRecord(int id);
    Record getRecordById(int id);
    List<Record> getAllRecord();
}
